package org.xiaom.butler.bean;

import java.util.List;

import com.google.gson.annotations.Since;

/**
 * 显示条目。
 * 
 * @author XM
 * 
 */
public class Department {
	private Integer id;
	private String chName;
	private String engName;
	private Integer displayIndex;
	private String imagePath;
	@Since(100)//永远不出现在Json中
	private Hotel hotel;
	private List<Content> contents;

	public Department() {
		super();
	}

	  
	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getChName() {
		return chName;
	}


	public void setChName(String chName) {
		this.chName = chName;
	}


	public String getEngName() {
		return engName;
	}


	public void setEngName(String engName) {
		this.engName = engName;
	}


	public Integer getDisplayIndex() {
		return displayIndex;
	}


	public void setDisplayIndex(Integer displayIndex) {
		this.displayIndex = displayIndex;
	}


	public String getImagePath() {
		return imagePath;
	}


	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}


	public Hotel getHotel() {
		return hotel;
	}


	public void setHotel(Hotel hotel) {
		this.hotel = hotel;
	}


	public List<Content> getContents() {
		return contents;
	}


	public void setContents(List<Content> contents) {
		this.contents = contents;
	}


	@Override
	public String toString() {
		return "DisplayItem [id=" + id + "]";
	}

}
